﻿using Microsoft.EntityFrameworkCore;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class HoteContent : DbContext
    {
        public HoteContent(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 房号
        /// </summary>
        public DbSet<RoomNumberModel> roomNumberModels { get; set; }
        /// <summary>
        /// 房型
        /// </summary>
        public DbSet<RoomTypeModel> roomTypeModels { get; set; }
        /// <summary>
        /// 排房
        /// </summary>
        public DbSet<PaiRoomMoodel> paiRoomMoodels { get; set; }
        /// <summary>
        /// 用户表
        /// </summary>
        public DbSet<UserModel> userModels { get; set; }
    }
}
